.tabbar {
  display: flex;
  height: 100rpx;
  //底部安全区域
  height: calc(100rpx + constant(safe-area-inset-bottom));
  height: calc(100rpx + env(safe-area-inset-bottom));

  &-menu {
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100rpx;
    //底部安全区域
    height: calc(100rpx + constant(safe-area-inset-bottom));
    height: calc(100rpx + env(safe-area-inset-bottom));
    background-color: $tabbar-bg;
    border-top: $tabbar-border-top;

    display: flex;
    justify-content: space-between;
    box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
    &-item {
      position: relative;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100rpx;
      align-items: center;
      font-size: 24rpx;
      line-height: 1;
      color: $tabbar-color;
      &-icon {
        width: 48rpx;
        height: 48rpx;
        font-size: 48rpx;
      }

      &.active {
        color: $color-primary;
      }

      &-prominent {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -40%);
        width: 88rpx;
        height: 88rpx;
        border-radius: 50%;
        background-color: $color-primary;
        color: #fff;
        text-align: center;
        line-height: 88rpx;
        font-size: 48rpx;
        z-index: 1;
        box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.4);
      }
    }
  }
}
